<li>
<? if(empty($obAuth)){ ?>
<h2 class="sidebox_title"><? echo __('USERS_LOGIN_TITLE'); ?></h2>
<? echo $form -> create('user',array('action'=>'login')); ?>
<? echo $form -> input('User.login',array('value'=>'','label'=>__('LOGIN',true))); ?>
<? echo $form -> input('User.password',array('value'=>'','label'=>__('PASSWORD',true))); ?>
<? echo $form -> submit(__('SEND',true)); ?>
</form>
<p><? echo $html -> link(__('USERS_REGISTRATION_TITLE',true),'/users/add'); ?></p>
<? } else {
?>
	<h1 class="sidebox_title"><? echo $obAuth['User']['username']; ?></h1>
<?	echo $html -> link(__('USERS_ACCOUNT_EDIT',true),'/users/edit/'.$obAuth['User']['id']); ?><br/>
<?  echo $html -> link(__('USERS_ACCOUNT_DELETE',true),array('action'=>'delete',$obAuth['User']['id']),null,__('DELETE_QUESTIONS')); ?><br/>
<?  echo $html -> link(__('USERS_LOGOUT',true),'/users/logout'); ?>
<? } ?>
</li>